﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

public class Encode
{
	public Encode()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public string Md5(string pass)
    {
        pass = FormsAuthentication.HashPasswordForStoringInConfigFile(pass.Trim(), "MD5");
        return pass;
    }
}